import { httpGet } from '@/http/http'
import type { CustomRequestOptions } from '@/http/types'

import * as API from './types';

/** 用户信息 GET /user/info */
export async function infoUsingGet({
  options,
}: {
  options?: CustomRequestOptions;
}) {
  return httpGet<API.UserItem>('/user/info', undefined, undefined, options);
}
